﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TalksLog.Domain.Core
{
    public interface IRepository<T> where T: EntityBase, IAggregateRoot
    {
        void Add(T entity);

        void Remove(T entity);

        T Find(string id);

        void Update(T entity);
    }
}
